FROM neilpang/acme.sh

COPY root_path /

RUN apk --no-cache add -f \
  python3 py3-pip \
  && pip3 install requests tccli \
  && wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz \
  && tar xzf aliyun-cli-linux-latest-amd64.tgz -C /usr/local/bin/ \
  && rm aliyun-cli-linux-latest-amd64.tgz \
  && mkdir /lib64 \
  && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

